package com.tianruan.dc.modules.sys.user.entity.dto;


import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.util.Date;

@Data
public class FeedbackDTO implements Serializable {



    private int id;

    @NotNull(message = "用户名不能为空")
    private String name;

    @NotNull(message = "电话不能为空")
    @Pattern(regexp="^1\\d{10}$", message="电话号码格式不正确")
    private String phone;

    @NotNull(message = "内容不能为空")
    private String content;

    private String title;

    private String supply;

    private String create_id;

    private Date time;

    private String feedback_state;

    private int del_flag;

}
